package e2q.liferay.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
// default package

import org.hibernate.annotations.GenericGenerator;



/**
 * E2qLiCompany entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "Company")
public class E2qLiCompany  implements java.io.Serializable {


    // Fields    

     private long companyId;
     private long accountId;
     private String webId;
     private String key;
     private String virtualHost;
     private String mx;
     private String homeUrl;
     private long logoId;
     private byte system;


    // Constructors

    /** default constructor */
    public E2qLiCompany() {
    }

	/** minimal constructor */
    public E2qLiCompany(long companyId) {
        this.companyId = companyId;
    }
    
    /** full constructor */
    public E2qLiCompany(long companyId, long accountId, String webId, String key, String virtualHost, String mx, String homeUrl, long logoId, byte system) {
        this.companyId = companyId;
        this.accountId = accountId;
        this.webId = webId;
        this.key = key;
        this.virtualHost = virtualHost;
        this.mx = mx;
        this.homeUrl = homeUrl;
        this.logoId = logoId;
        this.system = system;
    }

   
    // Property accessors
    @Id
	@GeneratedValue(generator = "pk")
	@Column(name = "companyId")
	@GenericGenerator(name = "pk", strategy = "e2q.web.orm.IdGenerator")
    public long getCompanyId() {
        return this.companyId;
    }
    
    public void setCompanyId(long companyId) {
        this.companyId = companyId;
    }
	@Column(name = "accountId")
    public long getAccountId() {
        return this.accountId;
    }
    
    public void setAccountId(long accountId) {
        this.accountId = accountId;
    }
	@Column(name = "webId")
    public String getWebId() {
        return this.webId;
    }
    
    public void setWebId(String webId) {
        this.webId = webId;
    }
	@Column(name = "key_")
    public String getKey() {
        return this.key;
    }
    
    public void setKey(String key) {
        this.key = key;
    }
	@Column(name = "virtualHost")
    public String getVirtualHost() {
        return this.virtualHost;
    }
    
    public void setVirtualHost(String virtualHost) {
        this.virtualHost = virtualHost;
    }
	@Column(name = "mx")
    public String getMx() {
        return this.mx;
    }
    
    public void setMx(String mx) {
        this.mx = mx;
    }
	@Column(name = "homeUrl")
    public String getHomeUrl() {
        return this.homeUrl;
    }
    
    public void setHomeUrl(String homeUrl) {
        this.homeUrl = homeUrl;
    }
	@Column(name = "logoId")
    public long getLogoId() {
        return this.logoId;
    }
    
    public void setLogoId(long logoId) {
        this.logoId = logoId;
    }
	@Column(name = "system")
    public byte getSystem() {
        return this.system;
    }
    
    public void setSystem(byte system) {
        this.system = system;
    }
   








}